<%@ page contentType="text/html; charset=UTF-8"%>
	<script type="text/javascript">
	var pbW_ch;
	function showPBWh(){
		//var result = dhtmlxAjax.postSync(conextPath + "/helper/helperAction!personalBusinessInit.action", "").xmlDoc.responseText;
		var result = "1$1$1$1$1$1$1$1";
		if(result != "failed" && result != ""){
			if(typeof($3("pbWinDiv")) == "undefined")createParentDiv();
			pbW_ch = initW_ch(pbW_ch,  "pbWinDiv", false, 400, 150, "", "个人工作台");
			pbW_ch.bringToTop();
			var results = result.split("$")
			if(results[0] != "-1"){
				$3("pb_myBug").innerHTML = "<a href=>我的Bug</a>"
			}
			if(results[1] != "-1"){
				$3("pb_myMessage").innerHTML = "<a href=>我收到的消息</a>"
			}
			if(results[2] != "-1"){
				$3("pb_myTask").innerHTML = "<a href=>我的今日任务</a>"
			}
			if(results[3] != "-1"){
				$3("pb_myPCAP").innerHTML = "<a href=>我需审批的进度</a>"
			}
			if(results[4] != "-1"){
				$3("pb_myPAP").innerHTML = "<a href=>我需审批的项目</a>"
			}
			if(results[5] != "-1"){
				$3("pb_myReport").innerHTML = "<a href=>我收到的工作报告</a>"
			}
			if(results[6] != "-1"){
				$3("pb_myWorkFlow").innerHTML = "<a href=>我待处理的工作流任务</a>"
			}
			if(results[7] != "-1"){
				$3("pb_myTestCase").innerHTML = "<a href=>我最近执行过的测试用例</a>"
			}
		}
	}
	
	function createParentDiv(){
		var parentDiv = document.createElement("div");
		parentDiv.setAttribute("class", "gridbox_light");
		parentDiv.setAttribute("style", "border:0px;display:none;");
		parentDiv.id = "pbWinDiv";
		var childDiv = document.createElement("div");
		childDiv.setAttribute("class", "objbox");
		childDiv.setAttribute("style", "overflow:auto;width:100%;border:0px;");
		parentDiv.appendChild(childDiv);
		
		var table = document.createElement("table");
		table.id = "pbTable";
		table.setAttribute("class", "obj row20px");
		table.setAttribute("cellspacing", "0");
		table.setAttribute("cellpadding", "0");
		table.setAttribute("border", "0");
		table.setAttribute("width", "100%");
		childDiv.appendChild(table);
		
		var tr = document.createElement("tr");
		tr.id = "tr_myBug";
		table.appendChild(tr);
		var td = document.createElement("td");
		td.id = "pb_myBug";
		tr.appendChild(td);
		
		tr = document.createElement("tr");
		tr.id = "tr_myMessage";
		table.appendChild(tr);
		var td = document.createElement("td");
		td.id = "pb_myMessage";
		tr.appendChild(td);
		
		tr = document.createElement("tr");
		tr.id = "tr_myTask";
		table.appendChild(tr);
		var td = document.createElement("td");
		td.id = "pb_myTask";
		tr.appendChild(td);
		
		tr = document.createElement("tr");
		tr.id = "tr_myPCAP";
		table.appendChild(tr);
		var td = document.createElement("td");
		td.id = "pb_myPCAP";
		tr.appendChild(td);
		
		tr = document.createElement("tr");
		tr.id = "tr_myPAP";
		table.appendChild(tr);
		var td = document.createElement("td");
		td.id = "pb_myPAP";
		tr.appendChild(td);
		
		tr = document.createElement("tr");
		tr.id = "tr_myReport";
		table.appendChild(tr);
		var td = document.createElement("td");
		td.id = "pb_myReport";
		tr.appendChild(td);
		
		tr = document.createElement("tr");
		tr.id = "tr_myWorkFlow";
		table.appendChild(tr);
		var td = document.createElement("td");
		td.id = "pb_myWorkFlow";
		tr.appendChild(td);
		
		tr = document.createElement("tr");
		tr.id = "tr_myTestCase";
		table.appendChild(tr);
		var td = document.createElement("td");
		td.id = "pb_myTestCase";
		tr.appendChild(td);
	}
	</script>